export const tableConfig = {
  propList: [
    {
      prop: 'name',
      label: '商品名',
      width: '100px'
    },
    {
      prop: 'oldPrice',
      label: '旧价格',
      width: '80px'
    },
    {
      prop: 'newPrice',
      label: '新价格',
      width: '80px'
    },
    {
      prop: 'status',
      label: '状态',
      width: '100px',
      slotName: 'status'
    },
    {
      prop: 'imgUrl',
      label: '图片',
      width: '100px',
      slotName: 'imgUrl'
    },

    {
      prop: 'createAt',
      label: '创建时间',
      width: '200px',
      slotName: 'createAt'
    },
    {
      prop: 'updateAt',
      label: '更新时间',
      width: '200px',
      slotName: 'updateAt'
    },
    {
      label: '操作',
      width: '200px',
      slotName: 'operation'
    }
  ],
  isShowIndex: true,
  isShowSelection: true,
  listName: '商品列表'
}
